package entities;

import java.io.Serializable;
import java.util.Date;
import basic.BaseEntity;
import basic.FieldMeta;

public class TNews extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@FieldMeta(primary = true, name = "编号", description = "编号", column = "new_no", require = true, range = true, length = 32, order = 0)
	private String newNo;

	public String getNewNo() {
		return newNo;
	}

	public void setNewNo(String newNo) {
		this.newNo = newNo;
	}

	@FieldMeta(name = "标题", description = "标题", column = "new_title", require = true, range = true, length = 200, order = 1)
	private String newTitle;

	public String getNewTitle() {
		return newTitle;
	}

	public void setNewTitle(String newTitle) {
		this.newTitle = newTitle;
	}

	@FieldMeta(name = "作者", description = "作者", column = "new_author", require = true, length = 1000, order = 2)
	private String newAuthor;

	public String getNewAuthor() {
		return newAuthor;
	}

	public void setNewAuthor(String newAuthor) {
		this.newAuthor = newAuthor;
	}

	@FieldMeta(name = "内容", description = "内容", column = "new_info", require = true, length = 1000, order = 3)
	private String newInfo;

	public String getNewInfo() {
		return newInfo;
	}

	public void setNewInfo(String newInfo) {
		this.newInfo = newInfo;
	}

	@FieldMeta(name = "状态", description = "状态", column = "new_state", require = true, length = 1, order = 4)
	private String newState;

	public String getNewState() {
		return newState;
	}

	public void setNewState(String newState) {
		this.newState = newState;
	}

	@FieldMeta(name = "创建日期", description = "创建日期", column = "new_date", require = true, range = true, order = 5)
	private Date newDate;

	public Date getNewDate() {
		return newDate;
	}

	public void setNewDate(Date newDate) {
		this.newDate = newDate;
	}

	@FieldMeta(name = "备注", description = "备注", column = "new_remark", length = 100, order = 6)
	private String newRemark;

	public String getNewRemark() {
		return newRemark;
	}

	public void setNewRemark(String newRemark) {
		this.newRemark = newRemark;
	}

}